import {Get,Post} from "@/common/request.js";

// 上传单词文件
export function uploadFiles(data) {
  return Post("common/upload",data);
}

//获取音标列表
export function getPhoneticPracticeList() {
	return Get("phonetic/getList");
}
//获取音标列详情
export function getPhoneticPracticeInfo(query) {
	return Get("phonetic/getInfo",query);
}

//获取音标专练单词列表
export function getPhoneticPracticeWords(query) {
	return Get("phonetic/getWords",query);
}

//保存音标专练单词分数
export function savePhoneticPracticeScore(data) {
	return Post("phonetic/saveFollow",data);
}

//获取音标专练作业日志
export function getPhoneticPracticeLogs(query) {
	return Get("phonetic/getLog",query);
}

//保存音标专练作业日志
export function savePhoneticPracticeLogs(data) {
	return Post("phonetic/saveWork",data);
}



